﻿#ifndef DRAWTOOLS_H
#define DRAWTOOLS_H

#include "YToolWidget.h"

namespace Ui {
class DrawTools;
}

class DrawTools : public YToolWidget
{
    Q_OBJECT
public:
    explicit DrawTools(QWidget *parent = nullptr);
    ~DrawTools();
    int getThickness();
    QFont getFont();
    QColor getColor();
    int getVague();

    void setThickness(int thickness);
    void setColor(int index);

signals:
    void thicknessChanged(int);
    void colorChanged(QColor);

public slots:

private:
    Ui::DrawTools *ui;
    int thickness = 1;
    QColor color = QColor(251,56,56);
};

#endif // DRAWTOOLS_H
